/**
 * Created by huhai on 17/9/8.
 */
let path =require('path')
module.exports={
  entry:path.resolve(__dirname, "index.js"),
  output:{
    path:path.resolve(__dirname,"dist"),
    filename:"compile.js"
  },
  devtool: "sourcemap",
  module:{
    rules:[{
      test:/.jsx?$/,
      exclude: /node_modules/,
      use:['babel-loader']
    }]
  }

}